<link rel="stylesheet" type="text/css" href="<?php echo base_url('skin/css/admin.css');?>" />
<!-- List Of Ranges  -->
<?php
$xconfigs = array(
    array('key'=>'password_expired',
        'label'=>'Password Expiration',
        'value'=>'12',
        'extras'=>'days'),
    array('key'=>'session_expired',
        'label'=>'Session Expiration',
        'value'=>'11',
        'extras'=>'minutes'),
);
?>
<div id="tabs-3" class="ui-tabs-panel ui-widget-content ui-corner-bottom" aria-labelledby="ui-id-1" role="tabpanel" aria-hidden="false">
    <div style="color: limegreen; min-width: 100px; max-width: 600px; margin: 12px auto; text-align: center;">
        <?php echo $this->session->flashdata('success'); ?>
    </div>
    <form action="<?php echo site_url('config/update');?>" method="POST">
    <table class="borderless" style="width:auto;">
        <tbody>
            <?php foreach($_configs as $data) : ?>
            <tr>
                <td style="text-align:left;"><?php echo $data->label; ?>:</th>
                <td style="text-align:left;">
                    <input type="text" class="number_only" name="<?php echo $data->key; ?>" value="<?php echo $data->value; ?>" />
                    &nbsp;<?php echo $data->extras; ?>
                </td>
            </tr>
            <?php endforeach; ?>
            <tr>
                <th style="text-align: center;"><input type="submit" name="submit" value="Save" /></th>
            </tr>
            <!--tr>
                <td><i><b>NOTE:</b> Be sure to clear cache and close your browser after you made changes.</i></th>
            </tr-->
        </tbody>  
    </table>
    </form>


    <table class="borderless" style="width:auto;">
        <tr>
            <td><i><b>NOTE:</b>Be sure to clear cache and close your browser AFTER you any made changes.</i></th>
        </tr>
    </table>
</div>
